import 'package:flutter_riverpod/flutter_riverpod.dart';

enum LoginType {
  optCode, // 验证码登录
  account, // 账号密码登录
  apple, // Apple登录
  wechat, // 微信登录
  oneTap, // 一键登录
  register, // 注册
  updatePwd, // 忘记密码
  delAccount, // 删除账户
  unknown, // 未知
}

final loginTypeProvider = StateProvider<LoginType>((ref) => LoginType.unknown);
